Versions:
y509, published by kanywst, opens an X.509 certificate chain in a terminal user interface. The chain can come from a PEM or DER file, from standard input or from a live server, including a server that sits behind STARTTLS. The tool answers two questions separately: whether the chain verifies against the system trust store, and whether the server actually served the chain correctly. The second check detects a missing intermediate certificate, a redundant root, certificates sent in the wrong order and duplicates. These are the faults behind a chain that passes in a browser but fails in curl, Go and Java, because only browsers follow the AIA URL to fetch a certificate that the server never sent. For automation, the y509 validate command exits with a non-zero status on anything a TLS client would reject, and the --json option reports trust and presentation as separate fields, so a script can gate on either of them. The tags place the program in the categories certificate, PKI, SSL, TLS, CLI and TUI and show that it is written in Go. Typical use cases include diagnosing TLS errors of a web or mail server, checking a certificate bundle before deployment and adding a certificate check to a CI pipeline. The current release is version 1.15.0, and several versions are available in the catalog.
Tags: